export default {
  path: "/Inventory",
  redirect: "/Inventory/index",
  meta: {
    icon: "ri/information-line",
    // showLink: false,
    title: "库存调整业务",
    rank: 1
  },
  children: [
    {
      path: "index",
      name: "盘点管理",
      component: () => import("@/views/Inventory/index.vue"),
      meta: {
        title: "盘点管理"
      },
      children: [
        {
          path: "index/addInventoryTask",
          name: "添加盘点任务(按货架)",
          component: () => import("@/views/Inventory/addInventory.vue"),
          meta: {
            title: "添加盘点任务(按货架)",
            showParent: true,
          }
        },
        {
          path: "index/addInventoryTask2",
          name: "添加盘点任务(按物品)",
          component: () => import("@/views/Inventory/addInventory2.vue"),
          meta: {
            title: "添加盘点任务(按物品)",
            showParent: true,
          }
        },
        {
          path: "index",
          name: "盘点任务",
          component: () => import("@/views/Inventory/index.vue"),
          meta: {
            title: "盘点任务",
            showParent: true
          }
        },
        {
          path: "index/detail",
          name: "盘点任务详情(分组展示)",
          component: () => import("@/views/Inventory/inventoryDetail.vue"),
          meta: {
            title: "盘点任务详情",
            showParent: true,
            showLink: false
          },
          children: [
             {
          path: "index/detail/updateNum",
          name: "修改盘点数量(分组)",
          component: () => import("@/views/Inventory/updateNumGroup.vue"),
          meta: {
            title: "修改盘点数量(分组)",
            showParent: true
          }
        }
          ]
        },
        {
          path: "index/detail/List",
          name: "盘点任务详情(列表展示)",
          component: () => import("@/views/Inventory/inventoryDetailList.vue"),
          meta: {
            title: "盘点任务详情",
            showParent: true,
            showLink: false
          },
          children: [
             {
          path: "index/detail/updateNum2",
          name: "修改盘点数量(列表)",
          component: () => import("@/views/Inventory/updateNumList.vue"),
          meta: {
            title: "修改盘点数量(列表)",
            showParent: true
          }
        }
          ]
        },
      ]
    },
    {
      path: "baosun",
      name: "盘点报损",
      component: () => import("@/views/Inventory/index.vue"),
      meta: {
        title: "盘点报损"
      }
    }
  ]
} satisfies RouteConfigsTable;
